package com.szy.mvp_demo.mvp_m;

import com.szy.mvp_demo.Entity.MessageListEntity;
import com.szy.mvp_demo.mvp_p.OnDataSuccedListener;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/1/22 0022.
 */

public class MessageListModelKJ implements BaseListModel {
    @Override
    public void loadData(OnDataSuccedListener listener) {
        List<MessageListEntity> data = new ArrayList<>();
        data.add(new MessageListEntity("科技", "2018-01-01", "王健林：我犯了个错误，就是钱太多", "http://p0.so.qhimgs1.com/bdr/326__/t01b05e3e68a0db5a40.jpg"));
        data.add(new MessageListEntity("科技", "2018-01-01", "王健林：我犯了个错误，就是钱太多", "http://p0.so.qhimgs1.com/bdr/326__/t01b05e3e68a0db5a40.jpg"));
        data.add(new MessageListEntity("科技", "2018-01-01", "王健林：我犯了个错误，就是钱太多", "http://p0.so.qhimgs1.com/bdr/326__/t01b05e3e68a0db5a40.jpg"));
        data.add(new MessageListEntity("科技", "2018-01-01", "王健林：我犯了个错误，就是钱太多", "http://p0.so.qhimgs1.com/bdr/326__/t01b05e3e68a0db5a40.jpg"));
        data.add(new MessageListEntity("科技", "2018-01-01", "王健林：我犯了个错误，就是钱太多", "http://p0.so.qhimgs1.com/bdr/326__/t01b05e3e68a0db5a40.jpg"));
        listener.upDataView(data);
    }
}
